﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--Date created: 05/05/2012 -->
<HelpItems xmlns="http://msh" schema="maml">
  <command:command xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
    <command:details>
      <command:name>Upgrade-SPSolution</command:name>
      <maml:description>
        <maml:para>Upgrades a deployed SharePoint solution and installs newly added features.</maml:para>
        <maml:para />
      </maml:description>
      <maml:copyright>
        <maml:para />
      </maml:copyright>
      <command:verb>Upgrade</command:verb>
      <command:noun>SPSolution</command:noun>
      <dev:version />
    </command:details>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Upgrade-SPSolution</maml:name>
        <command:parameter required="True" position="1">
          <maml:name>Identity</maml:name>
          <command:parameterValue required="True">SPSolutionPipeBind</command:parameterValue>
        </command:parameter>
        <command:parameter required="True" position="Named">
          <maml:name>LiteralPath</maml:name>
          <command:parameterValue required="True">String</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>AssignmentCollection</maml:name>
          <command:parameterValue required="True">SPAssignmentCollection</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>CASPolicies</maml:name>
          <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>Confirm</maml:name>
          <command:parameterValue required="False">SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>Force</maml:name>
          <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>GACDeployment</maml:name>
          <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>Local</maml:name>
          <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>Time</maml:name>
          <command:parameterValue required="True">String</command:parameterValue>
        </command:parameter>
        <command:parameter required="False" position="Named">
          <maml:name>WhatIf</maml:name>
          <command:parameterValue required="False">SwitchParameter</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="True" variableLength="False" globbing="False" pipelineInput="True" position="1">
        <maml:name>Identity</maml:name>
        <maml:description>
          <maml:para>Specifies the SharePoint solution to deploy.</maml:para>
          <maml:para />
          <maml:para>The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid name of a SharePoint solution (for example, SPSolution1); or an instance of a valid SPSolution object.</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">SPSolutionPipeBind</command:parameterValue>
        <dev:type>
          <maml:name>SPSolutionPipeBind</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="True" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>LiteralPath</maml:name>
        <maml:description>
          <maml:para>Specifies the path to the solution package.</maml:para>
          <maml:para />
          <maml:para>The type must be a valid path in either of the following forms:</maml:para>
          <maml:para />
          <maml:para>- C:\folder_name</maml:para>
          <maml:para />
          <maml:para>- \\server_name\folder_name</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="True" position="Named">
        <maml:name>AssignmentCollection</maml:name>
        <maml:description>
          <maml:para>Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.</maml:para>
          <maml:para />
          <maml:para>When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">SPAssignmentCollection</command:parameterValue>
        <dev:type>
          <maml:name>SPAssignmentCollection</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>CASPolicies</maml:name>
        <maml:description>
          <maml:para>Specifies that Code Access Security (CAS) policies can be deployed for the new SharePoint solution.</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>Confirm</maml:name>
        <maml:description>
          <maml:para>Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="False">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>Force</maml:name>
        <maml:description>
          <maml:para>Forces the deployment of the new SharePoint solution.</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>GACDeployment</maml:name>
        <maml:description>
          <maml:para>Specifies that global assembly cache (GAC) can be deployed for the new SharePoint solution.</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>Local</maml:name>
        <maml:description>
          <maml:para>Deploys the solution on the local computer only.</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="True">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
      <command:parameter required="False" variableLength="False" globbing="False" pipelineInput="False" position="Named">
        <maml:name>WhatIf</maml:name>
        <maml:description>
          <maml:para>Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters</maml:para>
          <maml:para />
        </maml:description>
        <command:parameterValue required="False">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri href="" />
        </dev:type>
        <dev:defaultValue>
        </dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <maml:description>
      <maml:para>The Upgrade-SPSolution cmdlet upgrades a deployed SharePoint solution in the farm. Use this cmdlet only if a new solution contains new features. </maml:para>
      <maml:para />
      <maml:para>
        For permissions and the most current information about Windows PowerShell for SharePoint Products, see the online documentation (http://go.microsoft.com/fwlink/?LinkId=163185).
      </maml:para>
      <maml:para />
    </maml:description>
    <command:inputTypes />
    <command:returnValues />
    <command:examples>
      <command:example>
        <maml:title>------------------EXAMPLE------------------</maml:title>
        <dev:code>C:\PS>Upgrade-SPSolution -Identity contoso_solution.wsp -LiteralPath c:\contoso_solution_v2.wsp -GACDeployment</dev:code>
        <dev:remarks>
          <maml:para>This example upgrades the deployed SharePoint solution contoso_solution.wsp to the solution c:\contoso_solution_v2.wsp, and installs all the features which are newly added.</maml:para>
          <maml:para />
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Get-SPSolution</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Add-SPSolution</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Uninstall-SPSolution</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Remove-SPSolution</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Install-SPSolution</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Update-SPSolution</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Remove-SPSolutionDeploymentLock</maml:linkText>
        <maml:uri />
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <UserDefinedData xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns="">
    <name>Upgrade-SPSolution</name>
    <role />
    <functionality />
    <component />
  </UserDefinedData>
</HelpItems>